package org.tomac.io;

import java.io.IOException;
import java.net.MalformedURLException;
import java.net.SocketAddress;
import java.net.URI;

public interface IIOPlexor {

	public long currentTimeMillis();
	
	public IConnection createServerConnection(SocketAddress ipAddress);

	public IConnection createClientConnection(SocketAddress ipAddress);
	
	public ILogHandle createLog(URI log) throws MalformedURLException, IOException;

	public ITimerInstance scheduleTimer(ITimerTask timer, long timeInMillis);

}
